<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="utf-8">
  <title>编辑</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" th:href="@{/layui/css/layui.css}" media="all">
  <link rel="stylesheet" th:href="@{/style/custom.css}" media="all">
</head>
<body>

<div class="layui-form" lay-filter="dict-code-form-edit" id="dict-code-form-edit" style="padding: 20px 30px 0 0;">
  <input type="hidden" name="dictType" th:value="${dictCode.dictType}"/>
  <div class="layui-form-item">
    <label class="layui-form-label">码值</label>
    <div class="layui-input-block">
      <input type="text" name="code" th:value="${dictCode.code}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">文本</label>
    <div class="layui-input-block">
      <input type="text" name="text" th:value="${dictCode.text}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
    </div>
  </div>
  <div class="layui-form-item" lay-filter="status">
    <label class="layui-form-label">状态</label>
    <div class="layui-input-block">
      <input type="radio" name="status" value="Y" title="启用" th:checked="${ dictCode.status == null || dictCode.status == 'Y'} ? true">
      <input type="radio" name="status" value="N" title="禁用" th:checked="${ dictCode.status == 'N'} ? true">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">备注</label>
    <div class="layui-input-block">
      <textarea name="remark" placeholder="请输入内容" th:text="${ dictCode.remark }" class="layui-textarea"></textarea>
    </div>
  </div>
  <div class="layui-form-item layui-hide">
    <input type="button" lay-submit lay-filter="LAY-dict-code-front-submit" id="LAY-dict-code-front-submit" value="确认">
  </div>
</div>

<script th:src="@{/layui/layui.js}"></script>
<script>


</script>
</body>
</html>